package com.cheng.chengliving.commodity;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Author: 朱程
 * @Date: 2022/10/30/14:59
 * @Description:
 */
//如果dao没有@Mapper注解，则在主启动类指定要扫描的包
//@MapperScan(basePackages = "com.cheng.chengliving.commodity.dao")

@EnableDiscoveryClient
@SpringBootApplication
public class ChenglivingCommodityApplication {
    public static void main(String[] args) {
        SpringApplication.run(ChenglivingCommodityApplication.class,args);
    }
}
